#include <stdio.h>
#include <stdlib.h>

int main()
{

	enum day
	{
		saturday,
		sunday,
		monday,
		tuesday,
		wednesday,
		thursday,
		friday
	} workday;

	int a = 1;
	enum day weekend;
	printf("helloworld");
	weekend = ( enum day ) a;  //类型转换
	weekend = a; //错误
	printf("weekend:%d",weekend);
	return 0;
}

